
import 'package:flutter/cupertino.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter_app/BaseMaterialWidget.dart';

class ImageDetailPage extends BaseMaterialWidget {
  @override
  Widget buildContent(BuildContext context) {
    return GestureDetector(
      child: Hero(tag: '图片详情页', child: Image.network('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1568871119884&di=75898618d0aece98cd09275d0f4b22d2&imgtype=0&src=http%3A%2F%2Fi.hj.cn%2Fxywb%2F20150616%2FXYWB2015061615_2.jpg')),
      onTap: (){
        Navigator.pop(context);
      },
    );
  }

  @override
  String getTitle() {
    return "图片详情页";
  }

}